package com.snpic.appaw.module.third.api.deepOCR.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * @author JiJun
 * @date 2025/9/11 14:50
 * @修改时间 2025/9/11 14:50
 * @description
 */
@Data
public class VeBackRespDTO {
	@Schema(description = "错误码0：正确，1：无法识别，2：图像格式错误")
	private int error_code;

	@Schema(description = "结果描述")
	private String description;

	@Schema(description = "旋转角度")
	private int Rotation;

	@Schema(description = "唯一请求标识符")
	private String request_id;

	@Schema(description = "识别所用时间（毫秒为单位）")
	private int recognize_time;

	@Schema(description = "模板名称")
	private String page_name;

	@Schema(description = "Base64字符串")
	private String dbg_xml;

	@Schema(description = "识别结果列表")
	private List<Result> Result;

	@Data
	public static class Result {
		@Schema(description = "号牌号码")
		private String plateno;

		@Schema(description = "档案编号")
		private String document_no;

		@Schema(description = "核定载人数")
		private String capacity;

		@Schema(description = "总质量")
		private String total_mass;

		@Schema(description = "整备质量")
		private String mass;

		@Schema(description = "外廓尺寸")
		private String size;

		@Schema(description = "核定载质量")
		private String approved_load;

		@Schema(description = "准牵引总质量")
		private String traction_mass;

		@Schema(description = "备注")
		private String notes;

		@Schema(description = "检验记录")
		private String test_record;

		@Schema(description = "住址")
		private String address;

		@Schema(description = "车身颜色")
		private String body_color;

		@Schema(description = "能源种类")
		private String energy_type;

		@Schema(description = "发证机关")
		private String issue_authority;

		@Schema(description = "强制报废期止")
		private String scrap_end_time;
	}
}
